import request from '@/utils/request'

//获取物业管理费用列表
export function getBillingList(params) {
    return request({
        url: '/billingManagement/propertyBilling/page',
        method: 'get',
        params
    })
}

// 删除管理费数据
export function deleteBilling(id) {
    return request({
        url: '/billingManagement/propertyBilling/deleteById',
        method: 'post',
        headers: {
            'Content-Type': 'application/json'
        },
        data: id
    })
}

// 批量物业管理费数据
export function deleteBatch(data) {
    return request({
        url: '/billingManagement/propertyBilling/deleteBatch',
        method: 'post',
        data
    })
}

// 编辑数据
export function editBilling(data) {
    return request({
        url: '/billingManagement/propertyBilling/update',
        method: 'post',
        data
    })
}

